package cn.itcast.dao;

import java.util.List;

import cn.itcast.pojo.Customer;
import cn.itcast.pojo.CustomerQueryVo;

public interface CustomerDao {
	public List<Customer> findCustomerByQueryVo(CustomerQueryVo vo) throws Exception;

	public Integer findCustomerByQueryVoCount(CustomerQueryVo vo) throws Exception;

	public Customer findCustomerById(Long id) throws Exception;

	public void updateCustomerById(Customer cust) throws Exception;

	public void deleteCustomerById(Long id) throws Exception;
}
